package com.jt.controller;

import com.jt.pojo.User;
import com.jt.service.UserService;
import org.springframework.aop.framework.autoproxy.target.AbstractBeanFactoryBasedTargetSourceCreator;
import org.springframework.stereotype.Controller;

/**
 * @outhor fufeixiang
 * @date 2021-04-22
 */
@Controller
public class UserController {

    private UserService abc;
    private User user;



    public void setAbc(UserService abc) {
        this.abc = abc;
    }

    public void setUs(User user) {
        this.user = user;
    }

    public void addUser(){
        abc.addUser(user);
    }
}
